<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type="text/css">
	td.content{font-size: 12px;}
	tr.sub{font-size: 13px}
</style>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<center>
	<br>
	<br><br><br><br><br><br><br>
	<form method="post" name="tab" action="/ssteam/admin/deptsignok.do" id="dept" onsubmit="return testFunction();">
	<table border=0 width=700 style="border-top: #ededed 1pt solid;">
		<tr class="sub">
			<th align="right" bgcolor="#e9eef4">
				<font color="orange">*</font>
				 소속부서&nbsp;&nbsp;
			<td align="left" class="content" colspan=2>&nbsp;
				<select name="rtdeptno">
					<option>선택하세요&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
					<s:iterator value="list">
						<option value="${ deptno}">${dname }</option>
					</s:iterator>
				</select>
				<font color="#999999">
			 	부서의 하위로 새로운 부서가 생성됩니다.
			 	</font>
			
				
		<tr class="sub">
			<th align="right" bgcolor="#e9eef4">
				<font color="orange">*</font>
				부서명&nbsp;&nbsp;
			<td colspan=2 align="left">&nbsp;
				<input type="text" name=dname size=15>
				<input type="hidden" value="${dname }">
				<input type="hidden" value="${deptno }">
		<tr class="sub">
			<th align="right" bgcolor="#e9eef4">
				부서장&nbsp;&nbsp;
			<td colspan="2" align="left" class="content">&nbsp;
				<font color="#999999">
				부서장 지정은 부서 수정에서 이루어 집니다
				</font>
		<tr>
			<td colspan=3><br>
				<!-- 
				<input type="submit">
				 -->
							
				<s:a formId="dept" theme="ajax" targets="center1" showLoadingText="false">				 
				<input type="image" src="/ssteam/image/admin/dept.gif" border=0 onMouseOut='javascript:this.src="/ssteam/image/admin/dept.gif"
            	'onMouseOver='javascript:this.src="/ssteam/image/admin/deptok.gif"' onclick="SignUp()">
            	</s:a>
            	
	</table>
	</form>
</center>
</body>
</html>